package com.lagou.biz.server;

/**
 * 错误码
 *
 * @author wlz
 * @date 2020/5/27
 */
public enum BizErrorCode {
    /**
     * 参数不可为空
     */
    PARAM_CANNOT_BE_NULL("BIZ-SYS-000", "参数{0}不可为空"),


    USER_IS_NOT_EXIST("BIZ-USER-000", "用户不存在"),

    ;


    private String errorCode;
    private String errorMsg;

    BizErrorCode(String errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }
}
